﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesBSW.DAL.MesDB
{
    /// <summary>
    /// 物料分类信息
    /// </summary>
    [Table("mat_group")]
    public class MatGroup
    {
        /// <summary>
        /// 分类ID，取自于金蝶系统的分组ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int group_id { get; set; }

        /// <summary>
        /// 分类编号 
        /// </summary>
        public string group_number { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string group_name { get; set; }

        /// <summary>
        /// 父类ID
        /// </summary>
        public int parent_id { get; set; }

        /// <summary>
        /// 父类全ID
        /// </summary>
        public string full_parent_id { get; set; }
    }
}
